from langchain_community.document_loaders import UnstructuredMarkdownLoader

print("hello")

print("准备加载文档")
loader = UnstructuredMarkdownLoader(file_path="../../../../../README.md")
loader = UnstructuredMarkdownLoader('langchain.md',mode="elements")
loader = DirectoryLoader('../', glob="**/*.md")
print("开始加载文档")
documents = loader.load()
print("完成加载文档")
print(documents)
